package drongo.desktop.utils
{
	public class ColorUtil{
		
		public function ColorUtil(){
			
		}
		public static function getAlpha(color:uint):int { 
			return (color >> 24) & 0xff; 
		}
		public static function getRed(color:uint):int   { 
			return (color >> 16) & 0xff;
		}
		public static function getGreen(color:uint):int { 
			return (color >>  8) & 0xff; 
		}
		public static function getBlue(color:uint):int  { 
			return  color        & 0xff; 
		}
	}
}